package top.eggcode.modules.dict.store;

import org.springframework.data.jpa.repository.support.JpaRepositoryImplementation;
import top.eggcode.modules.dict.model.DictEntity;

/**
 * Title:
 * Description: TODO
 * Date: 2021/5/21 20:41
 *
 * @author JiaQi Ding
 * @version 1.0
 */
public interface DictRepository extends JpaRepositoryImplementation<DictEntity, String> {

    /**
     * 查找
     *
     * @param code 编号
     * @return 实体
     */
    DictEntity findByCode(String code);

}
